﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Portal.Entities
{
    /// <summary>
    ///实体类 Category 类别
    /// </summary>
    public class Category
    {
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }

        //导航属性
        // public virtual Province Province { get; set; }

        //一个类别下面 可以包装多个 Province 所以配置为一个 集合
        public virtual ICollection<Province> Province { get; set; }
    }
}
